<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading1">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse1">
                    文章管理
                </a>
            </h4>
        </div>
        <div id="collapse1" class="panel-collapse collapse @if(isset($active) && $active == 'post') @else in @endif"  >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/post">文章列表</a></li>
                <li class="list-group-item"><a href="/admin/post/create">添加文章</a></li>
                <li class="list-group-item"><a href="/admin/postCid">分类列表</a></li>
                <li class="list-group-item"><a href="/admin/postCid/create">添加分类</a></li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading2">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse2">
                    菜单管理
                </a>
            </h4>
        </div>
        <div id="collapse2" class="panel-collapse collapse @if(isset($active) && $active == 'menu') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/menu">菜单列表</a></li>
                <li class="list-group-item"><a href="/admin/menu/create">添加菜单</a></li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading3">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse3">
                    系统设置
                </a>
            </h4>
        </div>
        <div id="collapse3" class="panel-collapse collapse @if(isset($active) && $active == 'system') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/config">网站设置</a></li>
                <li class="list-group-item"><a href="/admin/config/create">添加设置项</a></li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading4">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse4">
                    轮播管理
                </a>
            </h4>
        </div>
        <div id="collapse4" class="panel-collapse collapse @if(isset($active) && $active == 'banner') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/banner">轮播列表</a></li>
                <li class="list-group-item"><a href="/admin/banner/create">添加轮播</a></li>
            </ul>
        </div>
    </div>

{{--
    <div class="panel panel-default">
        <div class="panel-heading"  id="heading5">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse5">
                    广告管理
                </a>
            </h4>
        </div>
        <div id="collapse5" class="panel-collapse collapse @if(isset($active) && $active == 'ad') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/ad">广告列表</a></li>
                <li class="list-group-item"><a href="/admin/ad/create">添加广告</a></li>
            </ul>
        </div>
    </div>--}}

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading6">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse6">
                    文章推荐管理
                </a>
            </h4>
        </div>
        <div id="collapse6" class="panel-collapse collapse @if(isset($active) && $active == 'recommend') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/recommend">推荐位列表</a></li>
                <li class="list-group-item"><a href="/admin/recommend/create">添加推荐位</a></li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading7">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse7">
                    友情链接
                </a>
            </h4>
        </div>
        <div id="collapse7" class="panel-collapse collapse @if(isset($active) && $active == 'friend') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/friend/type/1">链接列表</a></li>
                <li class="list-group-item"><a href="/admin/friend/create/type/1">添加链接</a></li>
            </ul>
        </div>
    </div>

  {{--  <div class="panel panel-default">
        <div class="panel-heading"  id="heading8">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse8">
                    品牌推荐
                </a>
            </h4>
        </div>
        <div id="collapse8" class="panel-collapse collapse @if(isset($active) && $active == 'brand') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/friend/type/2">品牌列表</a></li>
                <li class="list-group-item"><a href="/admin/friend/create/type/2">添加品牌</a></li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading9">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse9">
                    自媒体推荐
                </a>
            </h4>
        </div>
        <div id="collapse9" class="panel-collapse collapse @if(isset($active) && $active == 'media') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/friend/type/3">自媒体列表</a></li>
                <li class="list-group-item"><a href="/admin/friend/create/type/3">添加自媒体</a></li>
            </ul>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading"  id="heading10">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse10">
                    图片型友链
                </a>
            </h4>
        </div>
        <div id="collapse10" class="panel-collapse collapse @if(isset($active) && $active == 'imgfriend') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/friend/type/4">友链列表</a></li>
                <li class="list-group-item"><a href="/admin/friend/create/type/4">添加友链</a></li>
            </ul>
        </div>
    </div>--}}

   {{-- <div class="panel panel-default">
        <div class="panel-heading"  id="heading11">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" href="#collapse11">
                    标签管理
                </a>
            </h4>
        </div>
        <div id="collapse11" class="panel-collapse collapse @if(isset($active) && $active == 'tag') @else in @endif" >
            <ul class="list-group">
                <li class="list-group-item"><a href="/admin/tag">标签管理</a></li>
            </ul>
        </div>
    </div>--}}

</div>

